import QtQuick 2.0

Rectangle {
    color: mouse.pressed? "#cccccc" : "transparent"
    property alias m_text: m_Text_id.text
    signal clickSignal(var str)
    AText {
        id: m_Text_id
        anchors.centerIn: parent
        color: "#ffffff"
        opacity:1
        font.pointSize: 20

    }
    MouseArea {
        id: mouse
        anchors.fill: parent
        onClicked: clickSignal(m_Text_id.text)
    }
}

